package com.CST.entity.ys;

import com.CST.common.BaseEntity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author nmx
 * @since 2023-06-21
 */
@Getter
@Setter
@TableName("YS_DEPARTMENT_CONTROL")
@ApiModel(value = "YsDepartmentControl对象", description = "")
@EqualsAndHashCode(callSuper = false)
public class YsDepartmentControl extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("department_id")
    private Integer departmentId;

    @ExcelProperty("用友部门编码")
    @TableField("yy_department_code")
    private String yyDepartmentCode;

    @ExcelProperty("用友部门名称")
    @TableField("yy_department_name")
    private String yyDepartmentName;

    @ExcelProperty("部门名称")
    @TableField(exist = false)
    private String departmentName;

    @ExcelProperty("部门编码")
    @TableField(exist = false)
    private String departmentCode;
}
